package com.luzhikun.service;

import com.luzhikun.dao.IStudentDao;
import com.luzhikun.dao.StudentDao;
import com.luzhikun.model.Student;

/**
 * ClassName: StudentServiceimpl
 * Description:
 * date: 2021/4/28 21:00
 *
 * @author luzhikun
 * @since JDK 1.8
 */

/**
 * 学生service层实现类
 */
public class StudentServiceimpl implements IStudentService {

    private IStudentDao studentDao;

    public StudentServiceimpl() {
        this.studentDao = new StudentDao();
    }

    //
    @Override
    public Student checkLogin(int num, String password) {

        return studentDao.selectStudentLogin(num, password);

    }
}
